import pygame
import sys
import time
import random
from pygame.locals import *


pygame.init()

pygame.display.set_caption('')
#screen = pygame.display.set_mode( (800,400), pygame.FULLSCREEN )
screen = pygame.display.set_mode( (800,400) )
angle = 0

while True:
    screen.fill((125,0,125))
    car = pygame.image.load('car.png')#.convert()
    car.set_colorkey(car.get_at((0,0)))
#    spaceship = pygame.transform.rotate(spaceship,angle)
#    angle = angle + 1
    screen.blit( car, (50,50))
    for event in pygame.event.get():
        if event.type == KEYDOWN:            
            if event.key == K_ESCAPE:
                sys.exit()
    pygame.display.update()
    time.sleep(0.06)